aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/src/app/(main)/goals/edit/[id]/page.tsx
diff options
context:
space:
mode:
authorLibravatarLibravatar Biswa Kalyan Bhuyan <biswa@surgot.in> 2025-04-27 23:02:42 +0530
committerLibravatarLibravatar Biswa Kalyan Bhuyan <biswa@surgot.in> 2025-04-27 23:02:42 +0530
commit538d933baef56d7ee76f78617b553d63713efa24 (patch)
tree3fcbc4208849dfa0e5dc8fe5761e103a3591c283 /frontend/src/app/(main)/goals/edit/[id]/page.tsx
parent3941d80ff120238b973451325b834ebd8377281e (diff)
downloadfinance-538d933baef56d7ee76f78617b553d63713efa24.tar.gz
finance-538d933baef56d7ee76f78617b553d63713efa24.tar.bz2
finance-538d933baef56d7ee76f78617b553d63713efa24.zip
finance: feat: added the goal page with some improvements of ui
Diffstat (limited to 'frontend/src/app/(main)/goals/edit/[id]/page.tsx')
-rw-r--r--frontend/src/app/(main)/goals/edit/[id]/page.tsx16
1 files changed, 16 insertions, 0 deletions
diff --git a/frontend/src/app/(main)/goals/edit/[id]/page.tsx b/frontend/src/app/(main)/goals/edit/[id]/page.tsx
new file mode 100644
index 0000000..ed51f92
--- /dev/null
+++ b/frontend/src/app/(main)/goals/edit/[id]/page.tsx
@@ -0,0 +1,16 @@
+import { Metadata } from "next";
+import { GoalForm } from "../../components/goal-form";
+
+export const metadata: Metadata = {
+ title: "Edit Goal | Finance",
+ description: "Edit your financial goal",
+};
+
+export default function EditGoalPage({ params }: { params: { id: string } }) {
+ return (
+ <div className="container mx-auto py-8">
+ <h1 className="text-2xl font-bold tracking-tight mb-6">Edit Goal</h1>
+ <GoalForm goalId={parseInt(params.id)} />
+ </div>
+ );
+} \ No newline at end of file